package project3;

/**
 * @author oldliu
 * @since 1.0
 */
public class Soft {
    private String name;
    private long size;
    public Soft(){

    }

    public Soft(String name, long size) {
        this.name = name;
        this.size = size;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }
    public void show(){
        System.out.println(this.name+" "+this.size+"M");
    }
}
